<?php
/**
 * Company Address Block 
 * 
 * @package Hive\Company
 * @author Xavier VILAIN
 * @license
 */

use Fox\Html\TextArea;
use Fox\Html\Input;
use Fox\Html\DropList;
use Fox\Generator;
use Fox\Html\Block;
$block = new Block('bAddress',Msg(Hive::BUNDLE,Hive::TITLE_ADDRESS_DATA));
$block->add(new TextArea(array('adress','street'),false))->colspan(2);
$block->add(new Input('postal_code',false))->add(new Input('city',false))->size(25);
$block->add(new DropList('country',true,true,false,'fr'));
$block->add(new Input(array('phone','phone1'),false))->size(20);
$block->add(new Input(array('email','email1'),false))->size(20);
return $block;